package entity

import "time"

type StatEntity struct {
	/**
	 * 主键
	 */
	Id *int `json:"id" gorm:"primaryKey;autoIncrement"`
	/**
	 * 类型
	 */
	Type int `json:"type"`

	/**
	 * 内容
	 */
	Key string `json:"key"`

	Value int64 `json:"value"`

	Created time.Time `gorm:"autoCreateTime;column:created;type:datetime"`
}

func (StatEntity) TableName() string {
	return "stat_info"
}
